﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;
using System.Threading;

namespace RevClinic.Core.Security
{
    public class RevClinicIdentity : GenericIdentity
    {
        public RevClinicIdentity(string name)
            : base(name)
        {
        }

        public static RevClinicIdentity Current
        {
            get { return Thread.CurrentPrincipal.Identity as RevClinicIdentity; }
        }

    }
}
